﻿<UserControl x:Class="EasySL.UI.Controls.Samples"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:sCtrl="clr-namespace:EasySL.Controls;assembly=EasySL.Controls"
    >
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel Width="400" HorizontalAlignment="Left">
            <sCtrl:CollapsiblePanel Title="CollapsiblePanel" Margin="5">
                <TextBlock>This is a Collapsible or Expand Panel</TextBlock>
            </sCtrl:CollapsiblePanel>
            <sCtrl:CollapsiblePanel Title="Pager" Margin="5">
                <sCtrl:Pager PageCount="5"></sCtrl:Pager>
            </sCtrl:CollapsiblePanel>
            <sCtrl:CollapsiblePanel Title="VisualPager" Margin="5">
                <sCtrl:VisualPager PageCount="15"></sCtrl:VisualPager>
            </sCtrl:CollapsiblePanel>
            <sCtrl:CollapsiblePanel Title="ImageButton" Margin="5">
                <sCtrl:ImageButton Width="52" Height="24"
                    NormalImage="../Images/button_go.png"
                    ClickImage="../Images/button_go_click.png"
                    HoverImage="../Images/button_go_hover.png"
                    />
            </sCtrl:CollapsiblePanel>
            <sCtrl:CollapsiblePanel Title="Alert,Confrim, DialogPanel" Margin="5">
                <Button x:Name="bt1" Margin="5" Content="Click to show [Alert]" Click="bt1_Click"></Button>
                <Button x:Name="bt2" Margin="5" Content="Click to show [Confirm]" Click="bt2_Click"></Button>
                <Button x:Name="bt3" Margin="5" Content="Click to show [UserControl]" Click="bt3_Click"></Button>
            </sCtrl:CollapsiblePanel>
        </StackPanel>
    </Grid>
</UserControl>
